package com.lalameow.serverlogingate.repository;

import com.lalameow.serverlogingate.enetiy.GameServerInfo;
import com.lalameow.serverlogingate.enetiy.PlayerInfo;
import org.springframework.data.repository.CrudRepository;
import org.springframework.data.repository.query.Param;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * 创建人: 陈刚
 * 日期: 2018/5/11
 * 时间: 12:15
 * 功能：请进行修改
 */
public interface GameServerInfoRepository extends CrudRepository<GameServerInfo,String> {
    List<GameServerInfo> findByOnline(@Param("online") boolean online);
}
